﻿@using BlueLotus7.SSQAnalyzeWebApplication.ViewModel;
@model HistoryIndexInfo
@{
    ViewBag.Title = "双色球";
}
<style type="text/css">
    #customize {
        display: none;
    }

    div.scope, #customize, #submit {
        display: inline-block;
    }
</style>
<script type="text/javascript" src="/Scripts/History/Index.js"></script>
<input type="hidden" id="submitUrl" value="@(Model == null ? string.Empty : Model.SubmitUrl)" />
<div id="scope">
    @{
        if (Model != null)
        {
        <text>
        <input type="hidden" id="latestIdentity" value="@(Model.LatestIdentity)" />
        <div class="item">
            <select id="selectStage">
                <option value="@(Model.Recent100Identity)">近100期</option>
                <option value="@(Model.Recent300Identity)">近300期</option>
                <option value="@(Model.Recent500Identity)">近500期</option>
                <option value="@(Model.Recent1000Identity)">近1000期</option>
                <option value="">自定义</option>
            </select>
        </div>
        <div id="customize">
            <label>
                起始期：
            </label>
            <input type="text" id="startIdentity" value="@(Model.Recent100Identity)" />
            <label>
                终止期：
            </label>
            <input type="text" id="endIdentity" value="@(Model.LatestIdentity)" />
        </div>
        <input type="button" id="submit" value="查询" />
        <input type="checkbox" id="openNewTab" name="openNewTab" /><label for="openNewTab">Open in new tab</label>
        </text>
        }
    }
</div>
<div id="result">
</div>
